module.exports = {
  // 首页
  index: '/index/index',
  // 广告
  adv: '/common/adv/index',
  // 站点帮助
  helper: {
    // 列表
    list: '/common/helper/index',
    // 详情
    detail: '/common/helper/view'
  },
  // 相关配置
  config: '/common/config/index',
  // 收藏
  collect: {
    new: {
      path: '/common/collect/create',
      method: 'POST'
    },
    del: {
      path: '/common/collect/delete',
      method: 'DELETE'
    }
  },
  // 分享|转发
  transmit: {
    path: '/common/transmit/create',
    method: 'POST'
  },
  // 点赞
  nice: {
    new: {
      path: '/common/nice/create',
      method: 'POST'
    },
    del: {
      path: '/common/nice/delete',
      method: 'DELETE'
    }
  },
  // 省市区
  provinces: '/common/provinces/index',
  // 公告
  notify: {
    // 列表
    list: '/common/notify-announce/index',
    // 详情
    detail: '/common/notify-announce/view',
  },
  // 上传
  upload: {
    // MD5校验
    md5: {
      path: '/common/file/verify-md5',
      method: 'POST'
     },
    // 图片
    images: {
      path: '/common/file/images',
      method: 'POST'
    },
    // 视频
    videos: {
      path: '/common/file/videos',
      method: 'POST'
    },
    // 音频
    voices: {
      path: '/common/file/voices',
      method: 'POST'
    },
    // 文件
    files: {
      path: '/common/file/files',
      method: 'POST'
    },
    // Base64
    base64: {
      path: '/common/file/base64',
      method: 'POST'
    },
    // OSS直传
    oss: {
      path: '/common/file/oss-accredit',
      method: 'POST'
    }
  },
  // 支付
  payment: {
    path: '/common/pay/create',
    method: 'POST'
  }
}